home *** CD-ROM | disk | FTP | other *** search
- Path: airdmhor.gen.nz!not-for-mail
- From: gumboot@airdmhor.gen.nz (Simon Hosie)
- Newsgroups: comp.lang.c
- Subject: Re: Do you have ever pass structures?
- Date: 26 Feb 1996 10:23:45 +1300
- Organization: Airdmhor : a couple of BBS's, a bunch of people, and a cat.
- Message-ID: <4gqk11$e7l@airdmhor.gen.nz>
- References: <4ge8mi$qjm@srvr1.engin.umich.edu> <4ggsio$343@news-f.iadfw.net>
- NNTP-Posting-Host: airdmhor.gen.nz
- X-Newsreader: TIN [version 1.2 PL2]
-
- Adam Peterson:
- > The *disadvantage* is speed and space. Passing a pointer is just
- > word//double word. Passing the actual structure requires loading the
- > stack with all the elements of the structure...slow...
-
- But once it's done you don't have this pointer-thing to dereference all
- the time (of course, this depends on how much register space you have - will
- I ever get over my Intelesque hangups?).
-